﻿//
// JointStatusEventArgs.cs
//
// Authors:
//    Claus Jørgensen <10229@iha.dk>
//    Jens Bloch Christensen <09584@iha.dk>
//    Jonas Daugaard Møller <08814@iha.dk>
//
using System;

namespace RSD.Robot
{
    /// <summary>
    /// Provides data for the <see cref="E:USBC.JointStatusChanged"/> event.
    /// </summary>
    public class JointStatusEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:JointStatusEventArgs"/> class
        /// </summary>
        /// <param name="robotData">
        /// The joint robot data.
        /// </param>
        public JointStatusEventArgs(int[] robotData)
        {
            this.RobotData = robotData;
        }

        /// <summary>
        /// Gets the joint robot data.
        /// </summary>
        public int[] RobotData
        {
            get;
            private set;
        }
    }
}
